/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package di.persistence.object;

import di.persistence.entities.User;
import di.persistence.entities.UserType;
import java.util.List;

/**
 *
 * @author Kilian Ito
 */
public interface UserBO {
    void save(User user);
    void update(User user);
    void delete(User user);
    User getUser(long id);
    User getUserByLogin(String login);
    User getUserByEmail(String email);
    List<UserType> getTypes(User user);
}
